package org.example.service;

import org.example.common.R;
import org.example.pojo.entity.ApComment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.vo.CommentVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-01-26
 */
public interface IApCommentService extends IService<ApComment> {

    void addComment(ApComment comment);

    R getCommentList(String newsId, String commentId);

    List<CommentVo> getCommentFirstList(String newsId);
}
